package ooday03;

public class PersonTest {
    public static void main(String[] args) {
        Student s = new Student("zhangsan",25,"LF","jsd2302","2302");
        s.eat();
        s.sleep();
        s.study();



        Teacher t =new Teacher("wangfang", 34,"ZZ",7500.00);
        t.eat();
        t.sleep();
        t.teach();



        Doctor d = new Doctor("shenyi",46,"ZZ","zhuanjia");
        d.eat();
        d.sleep();
        d.cut();
    }
}
